ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / PreserveSelectedState Property






In This Topic
    PreserveSelectedState Property (FlexGridBase<T>)
    In This Topic
    Gets or sets a value that determines whether the grid should preserve the selected state of rows when the data is refreshed.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Overridable Property PreserveSelectedState As System.Boolean
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As System.Boolean
     
    instance.PreserveSelectedState = value
     
    value = instance.PreserveSelectedState
    [System.ComponentModel.DefaultValue(true)]
    public virtual System.bool PreserveSelectedState {get; set;}
    public read-write property PreserveSelectedState: System.Boolean; virtual; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set PreserveSelectedState : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property virtual System.bool get_PreserveSelectedState();
    public: __property virtual void set_PreserveSelectedState( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    virtual property System.bool PreserveSelectedState {
       System.bool get();
       void set (    System.bool value);
    }
    See Also